/*
 * Copyright (C) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include <string>
#include "imageknife_decoder_avif.h"

namespace ImageKnifePro {

bool ImageKnifeDecoderAvif::IsAvifEnable()
{
    return false;
}

ImageKnifeDecoderAvif::ImageKnifeDecoderAvif()
{
}

ImageKnifeDecoderAvif::~ImageKnifeDecoderAvif()
{
}

uint32_t ImageKnifeDecoderAvif::GetWidth() const
{
    return 0;
}

uint32_t ImageKnifeDecoderAvif::GetHeight() const
{
    return 0;
}

uint32_t ImageKnifeDecoderAvif::GetFrameCount() const
{
    return 0;
}

std::shared_ptr<int []> ImageKnifeDecoderAvif::GetDelayTimeList() const
{
    return nullptr;
}

std::string ImageKnifeDecoderAvif::Init(uint8_t *buffer, uint32_t length)
{
    return "ImageKnife Avif Decoder Not Enable";
}

std::string ImageKnifeDecoderAvif::DecodeFrame(uint32_t frameIndex, OH_PixelmapNative **pixelmapOut)
{
    return "ImageKnife Avif Decoder Not Enable";
}

std::string ImageKnifeDecoderAvif::CreatePixelmapNative(OH_PixelmapNative **pixelmapOut)
{
    return "ImageKnife Avif Decoder Not Enable";
}

void ImageKnifeDecoderAvif::SetAllocationMode(AllocationMode mode)
{
}

void ImageKnifeDecoderAvif::SetDesiredImageSize(Image_Size imageSize)
{
}

}